﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
	CodeBehind="Revista.aspx.cs" Inherits="IEWebSite.Revista" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<h1>
		Conferinte
	</h1>
	<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="SqlDataSource1"
		ItemPlaceholderID="ListViewContainer">
		<LayoutTemplate>
			<asp:PlaceHolder runat="server" ID="ListViewContainer" />
		</LayoutTemplate>
		<ItemTemplate>
			<fieldset style="float: left; width: 100%;">
				<legend>
					<%#Eval("Titlu")%></legend>
				<div class="details">
					<div class="photo-container">
						<telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Poza") %>'
							AutoAdjustImageControlSize="false" Width="113px" Height="121px" ToolTip='<%#Eval("Titlu", "Sigla revistei {0}") %>'
							AlternateText='<%#Eval("Titlu", "Sigla revistei {0}") %>' />
					</div>
					<div class="data-container">
						<table style="text-align: left; padding: 10px;">
							<tr>
								<td align="center" valign="top">
									<label>
										Prezentare:</label>
								</td>
								<td style="text-align: justify;">
									<%#Eval("Descriere")%>
								</td>
							</tr>
							<tr>
								<td colspan="2">
									&nbsp;
								</td>
							</tr>
							<tr>
								<td align="left" valign="top">
									<label>
										Website:</label>
								</td>
								<td align="Left" valign="top">
									<a href="<%#Eval("WebSite")%>" title="<%#Eval("Titlu")%>">
										<%#Eval("WebSite")%></a>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</fieldset>
		</ItemTemplate>
	</telerik:RadListView>
	<div style="clear: both;">
		<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SiteIEConnectionString %>"
			SelectCommand="SELECT [Titlu],[Descriere],[TitluEN],[DescriereEN],[Poza],[WebSite] FROM Revista">
		</asp:SqlDataSource>
</asp:Content>
